import request from '@/utils/request'

export function geteverylist() {
    return request({
        url: '/company/department',
        method: 'GET',
    })
}
export function removecompany(id) {
    return request({
        url: `/company/department/${id}`,
        method: 'DELETE',
    })
}
export function addcompany(data) {
    return request({
        url: '/company/department',
        method: 'POST',
        data
    })
}
export function getpeople() {
    return request({
        url: '/sys/user/simple',
        method: 'GET',
    })
}
export function eaitcompany(data) {
    return request({
        url: `/company/department/${data.id}`,
        method: 'PUT',
        data
    })
}
